package admin

import (
	"context"
	"server/internal/service"

	"server/api/admin/system"
)

func (c *ControllerSystem) ConfigAdminWebsite(ctx context.Context, req *system.ConfigAdminWebsiteReq) (res *system.ConfigAdminWebsiteRes, err error) {
	res = new(system.ConfigAdminWebsiteRes)
	res.Result, err = service.SystemConfig().GetAdminWebsiteConfig(ctx)
	return
}
